package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {

    // 查询购物车列表
    List<AddressBook> findList(AddressBook addressBook);

    // 新增地址
    void save(AddressBook addressBook);

    // 设置默认地址
    void setDefault(AddressBook addressBook);

    AddressBook findById(Long id);

    void update(AddressBook addressBook);

    void deleteById(Long id);
}
